package com.molyfun.parents.rest.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.molyfun.parents.rest.BaseResponse;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/12/15 0015.
 */

public class ReportFromsLineCourseResponse extends BaseResponse{

    /**
     * data : {"coursetotal":null,"coursefinishnum":null,"courseassistnum":null,"uncompletenum":null,"typelist":null,"resultlist":[{"date":"9","result":"0"},{"date":"10","result":"0"},{"date":"11","result":"0"},{"date":"12","result":"0"},{"date":"13","result":"0"},{"date":"14","result":"0"},{"date":"15","result":"0"},{"date":"16","result":"0"},{"date":"17","result":"0"},{"date":"18","result":"0"},{"date":"19","result":"0"},{"date":"20","result":"0"},{"date":"21","result":"0"},{"date":"22","result":"0"},{"date":"23","result":"0"},{"date":"24","result":"0"},{"date":"25","result":"0"},{"date":"26","result":"0"},{"date":"27","result":"0"},{"date":"28","result":"0"},{"date":"29","result":"0"},{"date":"30","result":"0"}]}
     */

    private CourseBean data;

    public CourseBean getData() {
        return data;
    }

    public void setData(CourseBean data) {
        this.data = data;
    }

    public static class CourseBean implements Parcelable{
        /**
         * coursetotal : null
         * coursefinishnum : null
         * courseassistnum : null
         * uncompletenum : null
         * typelist : null
         * resultlist : [{"date":"9","result":"0"},{"date":"10","result":"0"},{"date":"11","result":"0"},{"date":"12","result":"0"},{"date":"13","result":"0"},{"date":"14","result":"0"},{"date":"15","result":"0"},{"date":"16","result":"0"},{"date":"17","result":"0"},{"date":"18","result":"0"},{"date":"19","result":"0"},{"date":"20","result":"0"},{"date":"21","result":"0"},{"date":"22","result":"0"},{"date":"23","result":"0"},{"date":"24","result":"0"},{"date":"25","result":"0"},{"date":"26","result":"0"},{"date":"27","result":"0"},{"date":"28","result":"0"},{"date":"29","result":"0"},{"date":"30","result":"0"}]
         */

        private Object coursetotal;
        private Object coursefinishnum;
        private Object courseassistnum;
        private Object uncompletenum;
        private Object typelist;
        private ArrayList<ResultlistBean> resultlist;

        protected CourseBean(Parcel in) {
        }

        public static final Creator<CourseBean> CREATOR = new Creator<CourseBean>() {
            @Override
            public CourseBean createFromParcel(Parcel in) {
                return new CourseBean(in);
            }

            @Override
            public CourseBean[] newArray(int size) {
                return new CourseBean[size];
            }
        };

        public Object getCoursetotal() {
            return coursetotal;
        }

        public void setCoursetotal(Object coursetotal) {
            this.coursetotal = coursetotal;
        }

        public Object getCoursefinishnum() {
            return coursefinishnum;
        }

        public void setCoursefinishnum(Object coursefinishnum) {
            this.coursefinishnum = coursefinishnum;
        }

        public Object getCourseassistnum() {
            return courseassistnum;
        }

        public void setCourseassistnum(Object courseassistnum) {
            this.courseassistnum = courseassistnum;
        }

        public Object getUncompletenum() {
            return uncompletenum;
        }

        public void setUncompletenum(Object uncompletenum) {
            this.uncompletenum = uncompletenum;
        }

        public Object getTypelist() {
            return typelist;
        }

        public void setTypelist(Object typelist) {
            this.typelist = typelist;
        }

        public ArrayList<ResultlistBean> getResultlist() {
            return resultlist;
        }

        public void setResultlist(ArrayList<ResultlistBean> resultlist) {
            this.resultlist = resultlist;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
        }

        public static class ResultlistBean {
            /**
             * date : 9
             * result : 0
             */

            private String date;
            private String result;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getResult() {
                return result;
            }

            public void setResult(String result) {
                this.result = result;
            }
        }
    }
}
